def notify_of description
  puts "#{description} ..."
  begin
    yield
  rescue Exception => e
    puts "task failed with exception #{e}"
  end
#	puts "done"
end

def puts text
  Kernel::puts(text)
end

def replace_in_file filename, &block
  text = File.read(filename)
  block.call(text)
  File.open(filename, "w") {|io| io.write(text) }
end

